package com.zp.common.redis.CustomRedissonLockExecutor;

import com.baomidou.lock.executor.AbstractLockExecutor;
import org.springframework.stereotype.Component;

/**
 * @ program: zp-backstage
 * @ ClassName CustomRedissonLockExecutor
 * @ description: lock4j 分布式锁自定义执行器
 * @ author: zhangpeng
 * @ create: 2023-10-28 15:27
 * @ Version 1.0
 **/


@Component
public class CustomRedissonLockExecutor extends AbstractLockExecutor {
    /**
     * @ Author zhangpeng
     * @ Description //TODO 获取锁
     * @ Date 15:31 2023/10/28
     * @ Param * @param null
     * @ return
     **/
    @Override
    public Object acquire (String lockKey, String lockValue, long expire, long acquireTimeout) {
        return null;
    }

    /**
     * @ Author zhangpeng
     * @ Description //TODO 释放锁
     * @ Date 15:31 2023/10/28
     * @ Param * @param null
     * @ return
     **/
    @Override
    public boolean releaseLock (String key, String value, Object lockInstance) {
        return false;
    }
}
